﻿using GYCTOAManagementSystemNewApi.Model.Tool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace GYCTOAManagementSystemNewApi.Model
{
    /// <summary>
    /// 审核模块所需父类
    /// </summary>
    public class PublicAudit: Operate
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 单据是否被拒绝
        /// </summary>
        public bool IsRefuse { get; set; }
        /// <summary>
        /// 第一审批人签批
        /// </summary>
        public int AuditUserId1 { get; set; }
        /// <summary>
        /// 第一审批人签批时间
        /// </summary>
        public DateTime? AuditTime1 { get; set; }
        /// <summary>
        /// 第一审批人签批评论
        /// </summary>
        public string AuditComment1 { get; set; }
        /// <summary>
        /// 第二审批人签批
        /// </summary>
        public int AuditUserId2 { get; set; }
        /// <summary>
        /// 第二审批人签批时间
        /// </summary>
        public DateTime? AuditTime2 { get; set; }
        /// <summary>
        /// 第二审批人签批评论
        /// </summary>
        public string AuditComment2 { get; set; }
        /// <summary>
        /// 第三审批人签批
        /// </summary>
        public int AuditUserId3 { get; set; }
        /// <summary>
        /// 第三审批人签批时间
        /// </summary>
        public DateTime? AuditTime3 { get; set; }
        /// <summary>
        /// 第三审批人签批评论
        /// </summary>
        public string AuditComment3 { get; set; }
        /// <summary>
        /// 第四审批人签批
        /// </summary>
        public int AuditUserId4 { get; set; }
        /// <summary>
        /// 第四审批人签批时间
        /// </summary>
        public DateTime? AuditTime4 { get; set; }
        /// <summary>
        /// 第四审批人签批评论
        /// </summary>
        public string AuditComment4 { get; set; }
        /// <summary>
        /// 第五审批人签批
        /// </summary>
        public int AuditUserId5 { get; set; }
        /// <summary>
        /// 第五审批人签批时间
        /// </summary>
        public DateTime? AuditTime5 { get; set; }
        /// <summary>
        /// 第五审批人签批评论
        /// </summary>
        public string AuditComment5 { get; set; }
        /// <summary>
        /// 第六审批人签批
        /// </summary>
        public int AuditUserId6 { get; set; }
        /// <summary>
        /// 第六审批人签批时间
        /// </summary>
        public DateTime? AuditTime6 { get; set; }
        /// <summary>
        /// 第六审批人签批评论
        /// </summary>
        public string AuditComment6 { get; set; }
        /// <summary>
        /// 单据是否审批完成，20210413增加此属性，因此之前的单据无此属性
        /// </summary>
        public bool IsAuditEnd { get; set; }
    }

}
